from qa.ConfigInfo import ConfigInfo
from qa.HttpHelper import HttpHelper


class BaseController:
    http = HttpHelper()

    def __init__(self):
        url = ConfigInfo.get_config_info("qa.ini", 'qa', 'ServerBaseUrl')

        self.http.set_base_url(url)
